package com.csap.framework.oauth2.exception;

import com.csap.framework.oauth2.type.ExceptionType;

/**
 * @Author ycf
 * @Date 2021/8/19 6:24 下午
 * @Version 1.0
 */
public class UnauthorizedClientException extends ClientAuthenticationException{
    public UnauthorizedClientException(String msg, Throwable t) {
        super(msg, t);
    }

    public UnauthorizedClientException() {
        super(ExceptionType.unauthorized_client.getMessage());
    }

    @Override
    public ExceptionType exceptionType() {
        return ExceptionType.unauthorized_client;
    }
}
